package com.yidu.qianfeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;


/**
 * @Author: TangSheng
 * @Description: 路由视图层
 * @Date Created in 17:00 2021/3/3
 */

@Controller("centerController")
public class CenterController {

    @RequestMapping("/toLogin")
    public String login(){
        return "views/login";
    }

    @RequestMapping("/noauth")
    public String noauth(){
        return "../public/notauth";
    }

    @RequestMapping("/goAddwaybill")
    public String addwaybill(){
        return "views/addwaybill";
    }

    @RequestMapping("/waybillList")
    public String waybillList(){
        return "views/waybill_list";
    }

    @RequestMapping("/waybilldetail")
    public String waybillDetail(){
        return "views/waybilldetail";
    }

    @RequestMapping("goUpdatewaybill")
    public String updatewaybill(){
        return "views/updatewaybill";
    }

    @RequestMapping("/goAddTrack")
    public String addTrack(){
        return "views/addTrack";
    }

    @RequestMapping("/common/getTrackLayer")
    public String getTrackLayer(){
        return "views/common/addTrackLayer";
    }

    @RequestMapping("/goAddSignfor")
    public String goAddSignfor(){
        return "views/addSignfor";
    }

    @RequestMapping("/carGPS")
    public String carGPS(){
        return "views/carGPS";
    }


}
